import random
random.seed(123)
while True:
    print(random.randint(0,9))